{# THE chat surface: thread, jump button, staged images, composer. The AI page's Chat section includes it and the drawer fetches it; there is one instance on a page at a time (the drawer empties while the Chat section shows), so the ids the scripts and the composer target stay unique. Needs: assistant, chat_path, messages, conversation_id, picker (the catalog is there to pick from), voice (how a spoken turn is heard, or none), approvals (the change queue's review list's URL, or none) and resolved_event (what a decision on a card sends), voices (the voice chip: voice with a database, for an operator), calls (live calls: ``offers_calls``), operator (a call's engine and cost are shown: the operator's controls), agent_url (the answering agent's editor, where the mount has one), composer (what a turn may carry: ``attachments.composer``). #} {% from "components/macros/icons.html" import icon %} {% from "components/macros/form.html" import button_classes, control %} {% from "components/macros/chat.html" import agent_chip, assistant_row, conversation_field, turn_head, voice_states %} {% from "partials/chat/_call.html" import call_bar, mic_states, phone, phone_states with context %}